package com.huangguolin.cloud.api.course.service;

import com.huangguolin.cloud.api.course.entity.ApiCourseSearchEntity;
import com.huangguolin.cloud.api.course.entity.ApiScheduleEntity;
import com.huangguolin.cloud.mybatis.entity.PtCourseEntity;
import com.huangguolin.cloud.mybatis.flexigrid.PagingEntity;

import java.util.ArrayList;
import java.util.List;

public interface ApiCourseService {
    /**
     * 分页查询课程列表
     * @param entity
     * @param paging
     * @return
     */
     List<PtCourseEntity> queryCourseList(ApiCourseSearchEntity entity, PagingEntity paging);
    /**
     * 分页课程总条数
     * @param entity
     * @return
     */
    Integer queryCourseTotal(ApiCourseSearchEntity entity);
    /**
    删除课程
     */
    void deleteCourse(String courseUuids);
    //增加课程
    void addCourse(String courseUuids);

    /**
     * 增加日程
     * @param entity
     * @return
     */
    boolean onSubmit(ApiScheduleEntity entity);

    /**
     * 增加日程
     * @param name
     * @param radio
     * @param time
     * @param date
     * @param select
     * @param address
     * @param remark
     * @return
     */

//    boolean onSubmit(String name, String radio, List<PtCourseEntity> time, List<PtCourseEntity> date, String select, String address, String remark);

}
